package cn.coco.jf.fw.core.db;


import java.util.Date;

import com.jfinal.plugin.activerecord.Model;

import cn.coco.jf.fw.core.consts.JkConst;

public class SysAccessTokenTbl extends Model<SysAccessTokenTbl>{
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    public static SysAccessTokenTbl dao = new SysAccessTokenTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);

    public static SysAccessTokenTbl newInstance(){
        return new SysAccessTokenTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }

    public SysAccessTokenTbl(){
        use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }

    private String appId;
    private String accessTokenOld;
    private String accessTokenNew;
    private Date genDateTime;

    public String getAppId() {
        return get("appId");
    }

    public void setAppId(String appId) {
        set("appId", appId);
    }

    public String getAccessTokenOld() {
        return get("accessTokenOld");
    }

    public void setAccessTokenOld(String accessTokenOld) {
        set("accessTokenOld", accessTokenOld);
    }


    public String getAccessTokenNew() {
        return get("accessTokenNew");
    }

    public void setAccessTokenNew(String accessTokenNew) {
        set("accessTokenNew", accessTokenNew);
    }

    public Date getGenDateTime() {
        return get("genDateTime");
    }

    public void setGenDateTime(Date genDateTime) {
        set("genDateTime", genDateTime);
    }


}
